package com.yjps.system.model;

import com.yjps.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * Created by jessy on 2015/8/25.
 */
@Entity
@Table(name = "t_house_order_history")
public class Order extends BaseModel{

    @Column(name = "agents_id")
    private int agentId;
    @Column(name = "user_id")
    private int userId;
    @Column(name = "order_time")
    private String orderTime;
    @Column(name = "order_state",columnDefinition="INT default 1")
    private int orderState;
    @Column(name = "order_handle_time")
    private String acceptTime;
    @Column(name = "order_handle_result")
    private int acceptResult;

    @Column(name = "order_content")
    private String orderContent;
    @Transient
    private String username;
    @Transient
    private String ordermobile;
    public int getAgentId() {
        return agentId;
    }

    public void setAgentId(int agentId) {
        this.agentId = agentId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public int getOrderState() {
        return orderState;
    }

    public void setOrderState(int orderState) {
        this.orderState = orderState;
    }

    public String getAcceptTime() {
        return acceptTime;
    }

    public void setAcceptTime(String acceptTime) {
        this.acceptTime = acceptTime;
    }

    public int getAcceptResult() {
        return acceptResult;
    }

    public void setAcceptResult(int acceptResult) {
        this.acceptResult = acceptResult;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOrdermobile() {
        return ordermobile;
    }

    public void setOrdermobile(String ordermobile) {
        this.ordermobile = ordermobile;
    }

    public String getOrderContent() {
        return orderContent;
    }

    public void setOrderContent(String orderContent) {
        this.orderContent = orderContent;
    }
}
